
{extend name='./common' }
{block name='content_main'}
    <form class="am-form" accept="" method="post" id="editpassform">
        <fieldset>

            <div class="am-form-group">
                <label for="name">密码名称</label>
                <input type="text" name="name" id="name" placeholder="密码名称" value="{$pass['name']}">
            </div>

            <div class="am-form-group">
                <label for="username">用户名</label>
                <input type="hidden" name="pid" value="{$pass['uuid']}">
                <input type="text" name="username" id="username" placeholder="用户名" value="{$pass['username']}">
            </div>

            <div class="am-form-group">
                <label for="doc-ipt-pwd-1">密码</label>
                <input type="text" name="password" id="doc-ipt-pwd-1" placeholder="设置个密码吧" value="{$pass['password']}" onkeydown="CheckIntensity($(this).val())">
                <div class="am-progress passinfo" style="margin-bottom: 0" id="qazppp">

                </div>
            </div>

            <div class="am-form-group">
                <label for="doc-ta-1">备注说明</label>
                <textarea rows="5" name="remark" id="doc-ta-1">{$pass['remark']}</textarea>
            </div>

            <p><button type="submit" style="width: 100%;" class="am-btn am-btn-primary">修 改</button></p>
        </fieldset>
    </form>
    {/block}
{block name='javascript'}
    <script type="text/javascript">
        CheckIntensity('{$pass['password']}');
    </script>
{/block}